package com.zq.log.service;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

@Service
public class LogServiceImpl implements LogService {
    private final static Logger logger = LoggerFactory.getLogger(LogServiceImpl.class);
    @Override
    public void addLog(int type, int code, String msg, String pkId) {
        logger.info("日志类型：{}**日志编码：{}**日志内容：{}**主键ID：{}",type,code,msg,pkId);
    }
}
